package com.campus.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

@TableName(value = "t_manager_activity", schema = "campus")
public class Activity implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id; // 活动ID

    @TableField(value = "name")
    private String name; // 活动名

    @TableField(value = "category")
    private String category; // 活动类型

    @TableField(value = "title")
    private String title; // 活动全称

    @TableField(value = "creator")
    private String creator; // 活动创建者

    @TableField(value = "abstract")
    private String abstractDesc; // 活动摘要

    @TableField(value = "detailed_desc")
    private String detailedDesc; // 活动详细内容

    @TableField(value = "status")
    private Integer status; // 状态：0表示已创建，1表示已发布，2表示已结束归档，3表示已删除

    @TableField(value = "created_time")
    private Date createdTime; // 活动创建时间

    @TableField(value = "archived_time")
    private Date archivedTime; // 活动归档时间

    @TableField(value = "pic_urls")
    private String picUrls; // 活动图片地址

    @TableField(value = "start_time")
    private Date startTime; // 活动开始时间

    @TableField(value = "end_time")
    private Date endTime; // 活动结束时间

    // Getters and Setters
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getAbstractDesc() {
        return abstractDesc;
    }

    public void setAbstractDesc(String abstractDesc) {
        this.abstractDesc = abstractDesc;
    }

    public String getDetailedDesc() {
        return detailedDesc;
    }

    public void setDetailedDesc(String detailedDesc) {
        this.detailedDesc = detailedDesc;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getArchivedTime() {
        return archivedTime;
    }

    public void setArchivedTime(Date archivedTime) {
        this.archivedTime = archivedTime;
    }

    public String getPicUrls() {
        return picUrls;
    }

    public void setPicUrls(String picUrls) {
        this.picUrls = picUrls;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }
}
